package com.maozzi.service.logger.domain.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.maozzi.service.logger.domain.LogDomainService;
import com.maozzi.service.logger.repository.mapper.LogMapper;
import com.maozzi.service.logger.repository.model.Log;
import org.springframework.stereotype.Service;

/**
 * log domain service
 *
 * @author maozi
 */
@Service
public class LogDomainServiceImpl extends ServiceImpl<LogMapper, Log> implements LogDomainService {

    @Override
    public Log addLog(Log log) {
        this.save(log);

        return log;
    }
}
